package com.dll.pybig.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zjj
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

@TableName("stucomment")
public class StuCommentInfo {
    @TableId(type = IdType.AUTO,value = "stuId")
    Long id;
    @TableField("stuNum")
    Long stuNum;
    @TableField("stuName")
    String stuName;
    @TableField("stuComment")
    String stuComment;

    public StuCommentInfo(Long stuNum, String stuName, String stuComment) {
        this.stuNum = stuNum;
        this.stuName = stuName;
        this.stuComment = stuComment;
    }
}
